package com.gl.order.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: liangSY
 * @Date: 2021/7/21 10:58
 * @ClassName: EditPwdDto
 */
@ApiModel("修改密码的参数")
@Data
public class EditPwdDto {

    @ApiModelProperty("用户id")
    @NotBlank(message = "请确认需要修改的用户")
    private String id;

    @ApiModelProperty("原密码")
    @NotBlank(message = "请输入原密码")
    private String pwd;

    @ApiModelProperty("新密码")
    @NotBlank(message = "请确认新密码")
    private String npwd;
}
